package cn.xiaohuodui.dao;

import cn.xiaohuodui.model.GoodSku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodSkuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodSku record);

    int insertSelective(GoodSku record);

    GoodSku selectByPrimaryKey(Integer id);

    List<GoodSku> getByGoodId(Integer goodId);

    int updateByPrimaryKeySelective(GoodSku record);

    int updateByPrimaryKey(GoodSku record);
}